package com.richapp.launcher.database.system.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by dean on 2017/10/9 0009.
 */
@DatabaseTable(tableName = "SceneAction")
public class SceneActionModel {

    @DatabaseField(generatedId = true)
    private int id;

    @DatabaseField(columnName = "sceneName",canBeNull = false)           //情景名称
    private String sceneName;

    @DatabaseField(columnName = "actionType",canBeNull = false)          //动作类型
    private int actionType;

    @DatabaseField(columnName = "boxCpuId",canBeNull = false)            //机顶盒CPU ID
    private String boxCpuId;

    @DatabaseField(columnName = "deviceId",canBeNull = false)            //设备类型编号
    private String deviceId;

    @DatabaseField(columnName = "deviceNumber",canBeNull = false)        //设备编号
    private String deviceNumber;
    @DatabaseField(columnName = "way",canBeNull = false) //路
    private String way;

    @DatabaseField(columnName = "deviceName",canBeNull = false)         //设备名称
    private String deviceName;

    @DatabaseField(columnName = "dimmingValue")                          //调度值
    private String dimmingValue = "00";

    @DatabaseField(columnName = "delayActionTime",defaultValue = "0")    //下一动作延时时间
    private int delayActionTime = 0;

    @DatabaseField(columnName = "orderNumber")                           //动作排序号码
    private int orderNumber;

    @DatabaseField(columnName = "machineName")		//设备名称
    private String machineName;

    @DatabaseField(columnName = "buttonId")			//按钮id
    private int buttonId;

    @DatabaseField(columnName = "buttonName")			//按钮名
    private String buttonName;

    public SceneActionModel() {
    }


    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }


    public String getSceneName() {
        return sceneName;
    }


    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }


    public int getActionType() {
        return actionType;
    }


    public void setActionType(int actionType) {
        this.actionType = actionType;
    }


    public String getBoxCpuId() {
        return boxCpuId;
    }


    public void setBoxCpuId(String boxCpuId) {
        this.boxCpuId = boxCpuId;
    }


    public String getDeviceId() {
        return deviceId;
    }


    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }


    public String getDeviceNumber() {
        return deviceNumber;
    }


    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDimmingValue() {
        return dimmingValue;
    }


    public void setDimmingValue(String dimmingValue) {
        this.dimmingValue = dimmingValue;
    }


    public int getDelayActionTime() {
        return delayActionTime;
    }


    public void setDelayActionTime(int delayActionTime) {
        this.delayActionTime = delayActionTime;
    }

    public int getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(int orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }


    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public int getButtonId() {
        return buttonId;
    }

    public void setButtonId(int buttonId) {
        this.buttonId = buttonId;
    }

    public String getButtonName() {
        return buttonName;
    }

    public void setButtonName(String buttonName) {
        this.buttonName = buttonName;
    }
}
